import restful from '../restful_api';
import request from '@/utils/request';

export default {
    ...restful('good'),
    buyPage() {
        return request({
            url: '/good/buyPage',
            method: 'GET'
        });
    },
    sellPage() {
        return request({
            url: '/good/sellPage',
            method: 'GET'
        });
    },
    userBuyPage() {
        return request({
            url: '/good/userBuyPage',
            method: 'GET'
        });
    },
    userSellPage() {
        return request({
            url: '/good/userSellPage',
            method: 'GET'
        });
    },

};

